<!-- Begin stats/users.tpl -->
<form method="post" action="?module=stats&action=users&submit=true">
{opentable}
{titlebar colspan=2 title=$title}
</table>
</form>
<div id="summary"> 
  <fieldset>
 	 <legend><b>{$lg->Summary}</b></legend>
     <ol>
	 <table width="100%"  style="border-collapse: collapse;" >
		    <tr align="center"> 
          		<td width="40%" ></td>
				<td width="15%" style="border:1px solid ;">{$lg->quatr}1</td>
				<td width="15%" style="border:1px solid ;">{$lg->quatr}2</td>
				<td width="15%" style="border:1px solid ;">{$lg->quatr}3</td>
				<td width="15%" style="border:1px solid ;">{$lg->quatr}4</td>
       		 </tr>		
			{foreach from=$t_prime key=ltext item=t_resume}
			<tr>
				<td style="border:1px solid;text-indent:3px;">{$ltext}</td>
				{foreach from=$t_resume key=ltext item=s_resume}
					<td style="border:1px solid;" align="center">{$s_resume.bonus.ranks}</td>
				{/foreach}
			</tr>  
			{/foreach}     
	</table>
    </ol>
  </fieldset>
</div>
<div class="divhg"> 
  <fieldset>
  	<legend>{$lg->perf}</legend>
	<ol>
		<table width="100%"  style="border-collapse: collapse;" >
		    <tr align="center"> 
          	<td width="55%" ></td>
			<td width="15%" style="border:1px solid ;">M</td>
			<td width="15%" style="border:1px solid ;">{$lg->quatr}</td>
			<td width="15%" style="border:1px solid ;">{$lg->quatr} - 1</td>
			<td width="15%" style="border:1px solid ;">YTD</td>
       		 </tr>
        	<tr>
          		<td style="border:1px solid;text-indent:3px;"> {$lg->uperf}</td>
				<td style="border:1px solid;" align="center"><a href="?module=hrmd&action=score_user&idusr={$idusr}&perio-low={$t_perf.bdate}&submit=true&perio-high={$t_perf.edate}">{$t_perf.perfc}</a></td>
				<td style="border:1px solid;" align="center"><a href="?module=hrmd&action=score_user&idusr={$idusr}&perio-low={$t_perf_t.bdate}&submit=true&perio-high={$t_perf_t.edate}">{$t_perf_t.perf|string_format:"%.2f"}</a></td>
				<td style="border:1px solid;" align="center"><a href="?module=hrmd&action=score_user&idusr={$idusr}&perio-low={$t_perf_tm1.bdate}&submit=true&perio-high={$t_perf_tm1.edate}">{$t_perf_tm1.perf|string_format:"%.2f"}</a></td>
				<td style="border:1px solid;" align="center"><a href="?module=hrmd&action=score_user&idusr={$idusr}&perio-low={$t_perf_y2d.bdate}&submit=true&perio-high={$t_perf_y2d.edate}">{$t_perf_y2d.perf|string_format:"%.2f"}</a></td>
       		 </tr>
		      <tr>
          		<td style="border:1px solid;text-indent:3px;"> {$lg->score}</td>
				<td style="border:1px solid;" align="center">{$t_perf.score|string_format:"%.0f"}</td>
				<td style="border:1px solid;" align="center">{$t_perf_t.score|string_format:"%.0f"}</td>
				<td style="border:1px solid;" align="center">{$t_perf_tm1.score|string_format:"%.0f"}</td>
				<td style="border:1px solid;" align="center">{$t_perf_y2d.score|string_format:"%.0f"}</td>
       		 </tr>
      		</table>
    </ol>
  </fieldset>
</div>
<div class="divhg"> 
  <fieldset>
  <legend>{$lg->quality}</legend>
  <ol>
		<table width="100%" style="border-collapse: collapse;" >
		<tr align="center"> 
			<td width="40%" ></td>
			<td width="15%" style="border:1px solid ;">M</td>
			<td width="15%" style="border:1px solid ;">{$lg->quatr}</td>
			<td width="15%" style="border:1px solid ;">{$lg->quatr} - 1</td>
			<td width="15%" style="border:1px solid ;">YTD</td>
		 </tr>
		<tr>
			<td style="border:1px solid;text-indent:3px;"><a href="?module=hrmd&action=qual_user&idusr={$idusr}&submit=true">{$lg->score}</a></td>
			<td style="border:1px solid;" align="center"><a href="?module=hrmd&action=qual_user&idusr={$idusr}&perio-low={$t_qual.bdate}&submit=true&perio-high={$t_qual.edate}">{$t_qual.score}</a></td>
			<td style="border:1px solid;" align="center"><a href="?module=hrmd&action=qual_user&idusr={$idusr}&perio-low={$t_qual_t.bdate}&submit=true&perio-high={$t_qual_t.edate}">{$t_qual_t.score}</a></td>
			<td style="border:1px solid;" align="center"><a href="?module=hrmd&action=qual_user&idusr={$idusr}&perio-low={$t_qual_tm1.bdate}&submit=true&perio-high={$t_qual_tm1.edate}">{$t_qual_tm1.score}</a></td>
			<td style="border:1px solid;" align="center"><a href="?module=hrmd&action=qual_user&idusr={$idusr}&perio-low={$t_qual_y2d.bdate}&submit=true&perio-high={$t_qual_y2d.edate}">{$t_qual_y2d.score}</a></td>
		 </tr>
		</table>
  </ol>
  </fieldset>
</div>
<br>
<div class="divhg"> 
  <fieldset>
  <legend>{$lg->admin_proc}</legend>
  <ol>
		<table width="100%" style="border-collapse: collapse;" >
		<tr align="center"> 
			<td width="50%" ></td>
			<td width="15%" style="border:1px solid ;">M</td>
			<td width="15%" style="border:1px solid ;">{$lg->quatr}</td>
			<td width="15%" style="border:1px solid ;">{$lg->quatr} - 1</td>
			<td width="15%" style="border:1px solid ;">YTD</td>
		 </tr>
		<tr>
			<td style="border:1px solid;text-indent:3px;"><a href="?module=hrmd&action=event&idusr={$idusr}&submit=true">{$lg->evtnb}</a></td>
			<td style="border:1px solid;" align="center"><a href="?module=hrmd&action=event&idusr={$idusr}&perio-low={$t_proc.event.bdate}&submit=true&perio-high={$t_proc.event.edate}">{$t_proc.event.numbr}</a></td>
			<td style="border:1px solid;" align="center"><a href="?module=hrmd&action=event&idusr={$idusr}&perio-low={$t_proc_t.event.bdate}&submit=true&perio-high={$t_proc_t.event.edate}">{$t_proc_t.event.numbr}</a></td>
			<td style="border:1px solid;" align="center"><a href="?module=hrmd&action=event&idusr={$idusr}&submit=true&perio-low={$t_proc_tm1.event.bdate}&perio-high={$t_proc_tm1.event.edate}">{$t_proc_tm1.event.numbr}</a></td>
			<td style="border:1px solid;" align="center"><a href="?module=hrmd&action=event&idusr={$idusr}&submit=true&perio-low={$t_proc_y2d.event.bdate}&perio-high={$t_proc_y2d.event.edate}">{$t_proc_y2d.event.numbr}</a></td>
		 </tr>
		 {if $hotl}
		<tr>
			<td style="border:1px solid;text-indent:3px;">{$lg->hotl_open_nb}</td>
			<td style="border:1px solid;" align="center">{$t_hotl.open.numbr}</td>
			<td style="border:1px solid;" align="center">{$t_hotl_t.open.numbr}</td>
			<td style="border:1px solid;" align="center">{$t_hotl_tm1.open.numbr}</td>
			<td style="border:1px solid;" align="center">{$t_hotl_y2d.open.numbr}</td>
		 </tr>
		<tr>
			<td style="border:1px solid;text-indent:3px;" nowrap>{$lg->hotl_open_ok_nb}</td>
			<td style="border:1px solid;" align="center">{$t_hotl.otime.numbr}</td>
			<td style="border:1px solid;" align="center">{$t_hotl_t.otime.numbr}</td>
			<td style="border:1px solid;" align="center">{$t_hotl_tm1.otime.numbr}</td>
			<td style="border:1px solid;" align="center">{$t_hotl_y2d.otime.numbr}</td>
		 </tr>
		 {/if}
		</table>
  </ol>
  </fieldset>
</div>
</table>
<!-- End stats/users.tpl -->